package com.sumainfor.pc.gmio.controller.director;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.service.DiManagementService;
import com.sumainfor.pc.gmio.service.DiRepairService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.io.Serializable;
import java.util.Map;

/**
 *租后主管管理人员
 */
@RestController
@RequestMapping("/director/DiManagement")
public class DiManagementController implements Serializable {
    @Autowired
    private DiManagementService diManagementService;
    /**
     * 维修跟踪 待受理
     * @param params
     * @return
     */
    @GetMapping("/getDiManagementList")
    public JsonResult getDiManagementList(@RequestParam Map<String,Object> params){
        System.out.println("params:"+params);
        return  diManagementService.getDiManagementList(params);
    }

}
